package org.cytoscape.myapp.cytoscape_app_v1.internal.visual;

import java.util.HashMap;
import java.util.List;

import org.cytoscape.myapp.cytoscape_app_v1.internal.helpers.ModelUtils;
import org.cytoscape.view.model.VisualProperty;
import org.cytoscape.view.vizmap.VisualMappingFunction;
import org.cytoscape.view.vizmap.mappings.ContinuousMapping;

public class MappingFunctionConcreteContinuousSimple implements MappingFunctionFactory {

	@Override
	public <T> VisualMappingFunction createVisualMappingFunction(
			String attribute, Class<? extends T> type,
			VisualProperty<T> property,
			HashMap<String, Object> propertyAttributes,
			VisualInstanceDependecies dependecies) {

		
		ContinuousMapping mapping = (ContinuousMapping)
					dependecies.getVmfFactoryC().createVisualMappingFunction(attribute, type, property);
		
		return mapping;
	}

}
